package com.jmb.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName t_stability_case_log
 */
@TableName(value ="t_stability_case_log")
@Data
public class StabilityCaseLog  extends BaseEntity{


    /**
     * 日志编号
     */
    @Schema(description = "日志编号")
    @TableField(value = "stability_test_log_no")
    private String stabilityTestLogNo;

    /**
     * 稳定性测试用例编号
     */
    @Schema(description = "稳定性测试用例编号")
    @TableField(value = "stability_test_id")
    private Integer stabilityTestId;

    /**
     * 稳定性用例描述
     */
    @Schema(description = "稳定性用例描述")
    @TableField(value = "stability_test_desc")
    private String stabilityTestDesc;

    /**
     * 日志的目录
     */
    @Schema(description = "日志的目录")
    @TableField(value = "log_path")
    private String logPath;

    /**
     * 0进行中1停止2完成
     */
    @Schema(description = "0进行中 1停止 2完成")
    @TableField(value = "status")
    private Integer status;

    /**
     * 执行人用户编号
     */
    @Schema(description = "执行人用户编号")
    @TableField(value = "execute_id")
    private Integer executeId;



    /**
     * 0dev1test2stg3prod4debug
     */
    @Schema(description = "运行环境 0dev 1test 2stg 3prod 4debug")
    @TableField(value = "run_env")
    private Integer runEnv;

    /**
     * 稳定性测试开始时间
     */
    @Schema(description = "稳定性测试开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 稳定性测试结束时间
     */
    @Schema(description = "稳定性测试结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 请求数
     */
    @Schema(description = "请求数")
    @TableField(value = "request_count")
    private Integer requestCount;

    /**
     * 成功数
     */
    @Schema(description = "成功数")
    @TableField(value = "success_count")
    private Integer successCount;

    /**
     * 警告数
     */
    @Schema(description = "警告数")
    @TableField(value = "warning_count")
    private Integer warningCount;

    /**
     * 失败数
     */
    @Schema(description = "失败数")
    @TableField(value = "failed_count")
    private Integer failedCount;

    /**
     * 失败数
     */
    @Schema(description = "失败数")
    @TableField(value = "error_count")
    private Integer errorCount;

    /**
     * 响应时间队列 jsonarray string
     */
    @Schema(description = "响应时间队列 jsonarray string")
    @TableField(value = "response_time_queue")
    private String responseTimeQueue;
}